﻿using System;

namespace Core.Structs
{
    public unsafe struct NameValueCollectionStruct
    {
        public IntPtr TypeHandle;
        public IntPtr _entriesArray;
        public IntPtr _keyComparer;
        public IntPtr _entriesTable;
        public IntPtr _nullKeyEntry;
        public IntPtr _keys;
        public IntPtr _serializationInfo;
        public bool _readOnly;
        public int _version;
        public IntPtr _syncRoot;
        public IntPtr _all;
        public IntPtr _allKeys;
    }

    public unsafe struct ArrayListStruct
    {
        public IntPtr TypeHandle;
        public IntPtr _items;
        public IntPtr _syncRoot;
        public int _size;
        public int _version;
    }

    public unsafe struct NameValueCollectionEntryStruct
    {
        public IntPtr TypeHandle;
        public IntPtr Key;
        public IntPtr Value;
    }
}